//
//  ListCourseViewController.h
//  TMS
//
//  Created by Riddhi Joshi on 23/01/15.
//  Copyright (c) 2015 Riddhi Joshi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TraineeCourseTable.h"
#import "CourseDetailViewController.h"

@interface ListCourseViewController : UIViewController <UITableViewDataSource,UITableViewDelegate,CourseViewControllerDelegate,UIAlertViewDelegate>

@property (strong, nonatomic) IBOutlet UIBarButtonItem *Logout; //for logout button

@property (weak, nonatomic) IBOutlet UITableView *tblCourse; //for tableview

@property   (strong) TraineeCourseTable *TraineeCourse; //for calling queries

@property   (assign) int TraineeId;// for the respective trainee logged in

@property (strong, nonatomic) IBOutlet UIBarButtonItem *List;//for showing previously completed courses

- (IBAction)Logout:(id)sender;// on click of logout button

- (IBAction)onList:(id)sender;//on click of list
@end
